.modal {
  display: block; /* 默认隐藏弹窗 */
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%; 
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* 基本样式 */
.user-info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, #2196F3, #E3F2FD); /* 蓝色渐变背景 */
  font-family: 'Roboto', sans-serif;
}

.user-card {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.user-card-title {
  font-size: 2.5em;
  color: #3F51B5;
  margin-bottom: 20px;
}

.user-info {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #212121;
}

.user-info span {
  font-weight: bold;
}

/* 按钮样式 */
.change-password-button, 
.confirm-button {
  background-color: #4CAF50; /* 绿色按钮 */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  margin: 10px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease; /* 添加过渡效果 */
}

.change-password-button:hover,
.confirm-button:hover {
  background-color: #388E3C; /* 深绿色悬停效果 */
}

/* 弹窗样式 */
.modal {
  display: block; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.5); 
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto; 
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  width: 30%;
  text-align: center; 
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

.modal-title {
  font-size: 2em;
  color: #3F51B5;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  text-align: left; 
  margin-bottom: 5px;
  font-weight: bold;
  color: #333; 
}

.input-group input {
  width: calc(100% - 10px); 
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}